package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统日志
 * @author 
 */
@Data
@TableName(value = "cms_operation_log")
@Table(name = "cms_operation_log", comment = "系统日志")
public class CmsOperationLog implements Serializable {
    /**
     * 日志ID
     */
    @TableId
    @Column(type= MySqlTypeConstant.BIGINT, comment = "日志ID", length = 11, isKey = true, isAutoIncrement = true,isNull = false)
    private Long logId;

    /**
     * 日志内容
     */
    @Column(comment = "日志内容")
    private String content;

    /**
     * 创建人
     */
    @Column(comment = "创建人")
    private Long createUser;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}